{if isset($languages)}
<ul class="quickMenu floatRight">
    <li>
        <a href="/{$baseDir}/{$language}" title="{$language}" class="{$language}"></a>
        <ul>
        {foreach from=$languages item=lang}
            {if $lang != $language}
                <li><a href="/{$baseDir}/{$lang}" title="{$lang}" class="{$lang}"></a></li>
            {/if}
        {/foreach}
        </ul>
    </li>
</ul>
{/if}

